package com.mmt.dao;

public class MmtInterfacePortTypeProxy implements com.mmt.dao.MmtInterfacePortType {
  private String _endpoint = null;
  private com.mmt.dao.MmtInterfacePortType mmtInterfacePortType = null;
  
  public MmtInterfacePortTypeProxy() {
    _initMmtInterfacePortTypeProxy();
  }
  
  public MmtInterfacePortTypeProxy(String endpoint) {
    _endpoint = endpoint;
    _initMmtInterfacePortTypeProxy();
  }
  
  private void _initMmtInterfacePortTypeProxy() {
    try {
      mmtInterfacePortType = (new com.mmt.dao.MmtInterfaceLocator()).getMmtInterfaceHttpPort();
      if (mmtInterfacePortType != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)mmtInterfacePortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)mmtInterfacePortType)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (mmtInterfacePortType != null)
      ((javax.xml.rpc.Stub)mmtInterfacePortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public com.mmt.dao.MmtInterfacePortType getMmtInterfacePortType() {
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType;
  }
  
  public java.lang.String registerScoreMethod3(com.mmt.bean.model.A3006Info a3006Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.registerScoreMethod3(a3006Info);
  }
  
  public java.lang.String registerScoreMethod2(com.mmt.bean.model.A3006Info a3006Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.registerScoreMethod2(a3006Info);
  }
  
  public java.lang.String balanceTransfers(com.mmt.bean.model.A2006Info a2006Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.balanceTransfers(a2006Info);
  }
  
  public java.lang.String sendSMS(com.mmt.bean.model.SmsInfoReq smsInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.sendSMS(smsInfo);
  }
  
  public java.lang.String registerScoreMethod4(com.mmt.bean.model.B3006Info b3006Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.registerScoreMethod4(b3006Info);
  }
  
  public java.lang.String registerScoreMethod(com.mmt.bean.model.A3006Info a3006Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.registerScoreMethod(a3006Info);
  }
  
  public java.lang.String selectProduct(java.lang.String term_merno, java.lang.String loginid, java.lang.String loginpwd, java.lang.String card, java.lang.String pwd) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.selectProduct(term_merno, loginid, loginpwd, card, pwd);
  }
  
  public java.lang.String scoreRevocationMethod(com.mmt.bean.model.A3006Info a3006Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.scoreRevocationMethod(a3006Info);
  }
  
  public java.lang.String productToUse(com.mmt.bean.model.ProductInfo productInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.productToUse(productInfo);
  }
  
  public java.lang.String updatePwdNew(java.lang.String term_merno, java.lang.String loginid, java.lang.String loginpwd, java.lang.String card, java.lang.String pwd1, java.lang.String pwd2, java.lang.String pwd3, java.lang.String flag) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.updatePwdNew(term_merno, loginid, loginpwd, card, pwd1, pwd2, pwd3, flag);
  }
  
  public java.lang.String issueCard(com.mmt.bean.model.CardInfo cardInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.issueCard(cardInfo);
  }
  
  public java.lang.String checkCardPass(com.mmt.bean.model.CardInfo cardInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.checkCardPass(cardInfo);
  }
  
  public java.lang.String ticketConsume(com.mmt.bean.model.TicketInfo ticketInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.ticketConsume(ticketInfo);
  }
  
  public java.lang.String queryTermByParentId(com.mmt.bean.form.TermModel termModel) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.queryTermByParentId(termModel);
  }
  
  public java.lang.String cardApplyConfirm(com.mmt.bean.model.CardApplyInfo cardApplyInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.cardApplyConfirm(cardApplyInfo);
  }
  
  public java.lang.String cardApply(com.mmt.bean.model.CardApplyInfo cardApplyInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.cardApply(cardApplyInfo);
  }
  
  public java.lang.String grantTicke(com.mmt.bean.model.A1062Info a1062Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.grantTicke(a1062Info);
  }
  
  public java.lang.String statisticsCard(java.lang.String term_merno, java.lang.String loginid, java.lang.String loginpwd, java.lang.String sdate) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.statisticsCard(term_merno, loginid, loginpwd, sdate);
  }
  
  public java.lang.String cardApplyQuery(com.mmt.bean.model.CardApplyInfo cardApplyInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.cardApplyQuery(cardApplyInfo);
  }
  
  public java.lang.String updateUserInfo(com.mmt.bean.model.UserInfo userInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.updateUserInfo(userInfo);
  }
  
  public java.lang.String changeScoreMethod(com.mmt.bean.model.A3007Info a3007Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.changeScoreMethod(a3007Info);
  }
  
  public java.lang.String selectUserInfo(java.lang.String term_merno, java.lang.String loginid, java.lang.String loginpwd, java.lang.String card, java.lang.String cerNo, java.lang.String mobie, java.lang.String email) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.selectUserInfo(term_merno, loginid, loginpwd, card, cerNo, mobie, email);
  }
  
  public java.lang.String issueCard2(com.mmt.bean.model.CardInfo cardInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.issueCard2(cardInfo);
  }
  
  public java.lang.String cardRevocationMethod(com.mmt.bean.model.A3002Info a3002Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.cardRevocationMethod(a3002Info);
  }
  
  public java.lang.String cardDefrayMethod2(com.mmt.bean.model.A3002Info a3002Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.cardDefrayMethod2(a3002Info);
  }
  
  public java.lang.String selectCardinfo2(java.lang.String term_merno, java.lang.String loginid, java.lang.String loginpwd, java.lang.String card, java.lang.String pwd) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.selectCardinfo2(term_merno, loginid, loginpwd, card, pwd);
  }
  
  public java.lang.String selectCardinfo(java.lang.String term_merno, java.lang.String loginid, java.lang.String loginpwd, java.lang.String card, java.lang.String pwd) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.selectCardinfo(term_merno, loginid, loginpwd, card, pwd);
  }
  
  public java.lang.String cardDefrayMethod(com.mmt.bean.model.A3002Info a3002Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.cardDefrayMethod(a3002Info);
  }
  
  public java.lang.String selectInfo(java.lang.String term_merno, java.lang.String loginid, java.lang.String loginpwd, java.lang.String term_no, java.lang.String trans_no, java.lang.String begDate, java.lang.String endDate, java.lang.String card, java.lang.String pwd) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.selectInfo(term_merno, loginid, loginpwd, term_no, trans_no, begDate, endDate, card, pwd);
  }
  
  public java.lang.String queryCardTicket(com.mmt.bean.model.TicketInfo ticketInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.queryCardTicket(ticketInfo);
  }
  
  public java.lang.String queryProdByBarNo(java.lang.String merNo, java.lang.String loginid, java.lang.String loginpwd, java.lang.String prodNo, java.lang.String barNo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.queryProdByBarNo(merNo, loginid, loginpwd, prodNo, barNo);
  }
  
  public java.lang.String scoreDeductMethod(com.mmt.bean.model.A3034Info a3034Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.scoreDeductMethod(a3034Info);
  }
  
  public java.lang.String retransmissionTicket(com.mmt.bean.model.A1067Info a1067Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.retransmissionTicket(a1067Info);
  }
  
  public java.lang.String updatePwd(java.lang.String term_merno, java.lang.String loginid, java.lang.String loginpwd, java.lang.String card, java.lang.String pwd1, java.lang.String pwd2, java.lang.String pwd3) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.updatePwd(term_merno, loginid, loginpwd, card, pwd1, pwd2, pwd3);
  }
  
  public java.lang.String cardBuyProd(com.mmt.bean.model.A2055Info a2055Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.cardBuyProd(a2055Info);
  }
  
  public java.lang.String getTicketByScore(java.lang.String merNo, java.lang.String loginid, java.lang.String loginpwd, java.lang.String termNo, java.lang.String termSeq, java.lang.String cardNo, java.lang.String passFlag, java.lang.String cardPass, java.lang.String score, java.lang.String accFlg, java.lang.String acctNo, java.lang.String sendFlg, java.lang.String typeId, java.lang.String cnt) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.getTicketByScore(merNo, loginid, loginpwd, termNo, termSeq, cardNo, passFlag, cardPass, score, accFlg, acctNo, sendFlg, typeId, cnt);
  }
  
  public java.lang.String cardRechargeMethod(com.mmt.bean.model.A2006Info a2006Info) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.cardRechargeMethod(a2006Info);
  }
  
  public java.lang.String queryTicket(com.mmt.bean.model.TicketInfo ticketInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.queryTicket(ticketInfo);
  }
  
  public java.lang.String addUserInfo(java.lang.String term_merno, java.lang.String term_no, java.lang.String loginid, java.lang.String loginpwd, com.mmt.bean.model.UserInfo userInfo) throws java.rmi.RemoteException{
    if (mmtInterfacePortType == null)
      _initMmtInterfacePortTypeProxy();
    return mmtInterfacePortType.addUserInfo(term_merno, term_no, loginid, loginpwd, userInfo);
  }
  
  
}